From 0e19741553e672188a7b21f295243d0dbf6e7c64 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 22 Mar 2021 08:16:13 +0100 Subject: [PATCH] luci-app-watchcat: fix render fails with XHTML themes Signed-off-by: Florian Eckert --- .../luci-static/resources/view/watchcat.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js index 835536a300..5763f89fe3 100644 --- a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js +++ b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js @@ -20,8 +20,8 @@ return view.extend({ o = s.taboption('general', form.ListValue, 'mode', _('Mode'), - _("Ping Reboot: Reboot this device if a ping to a specified host fails for a specified duration of time.
\ - Periodic Reboot: Reboot this device after a specified interval of time.
\ + _("Ping Reboot: Reboot this device if a ping to a specified host fails for a specified duration of time.
\ + Periodic Reboot: Reboot this device after a specified interval of time.
\ Restart Interface: Restart a network interface if a ping to a specified host fails for a specified duration of time.")); o.value('ping_reboot', _('Ping Reboot')); o.value('periodic_reboot', _('Periodic Reboot')); @@ -29,14 +29,14 @@ return view.extend({ o = s.taboption('general', form.Value, 'period', _('Period'), - _("In Periodic Reboot mode, it defines how often to reboot.
\ + _("In Periodic Reboot mode, it defines how often to reboot.
\ In Ping Reboot mode, it defines the longest period of \ - time without a reply from the Host To Check before a reboot is engaged.
\ + time without a reply from the Host To Check before a reboot is engaged.
\ In Network Restart mode, it defines the longest period of \ time without a reply from the Host to Check before the interface is restarted. \ -

The default unit is seconds, without a suffix, but you can use the \ +

The default unit is seconds, without a suffix, but you can use the \ suffix m for minutes, h for hours or d \ - for days.

Examples: